package com.nowcoder.code.hjnc;

public class NC65 {

    public int Fibonacci(int n) {
        int l1 = 0;
        int l2 = 1;
        int tmp;
        for (int i = 0; i < n; i++) {
            tmp = l2;
            l2 = l1 + l2;
            l1 = tmp;
        }
        return l1;
    }

}
